﻿@{
    
    Layout = "~/Shared/_layoutPage.cshtml";
    var PageTitle = "Time sheet";
    
    List<SelectListItem> grplist = new List<SelectListItem>();
    grplist.Add(new SelectListItem
    {
        Text = "Select Group Id",
        Value = "0",
        Selected = true
    });
    grplist.Add(new SelectListItem
    {
        Text = "G1",
        Value = "1  ",
    });
    grplist.Add(new SelectListItem
    {
        Text = "G2",
        Value = "2"
    });
    grplist.Add(new SelectListItem
    {
        Text = "G3",
        Value = "3",
    });
    grplist.Add(new SelectListItem
    {
        Text = "G4",
        Value = "4",
    });
    DateTime tt = System.DateTime.Now;
}
@section title
{
    @PageTitle;
}
<html>
<head >
<style type="text/css">
th{width:200px;
    text-align:center;
    height:20px;}       
#SubmitTaskTableAssigned
{ margin-left:300px;
    }  
#TimeSheetDiv
{
    margin-left:150px;
    margin-right:100px;
    }   
td
{text-align:center;}
    #DropDownList1 {
    margin-left:60px;
    }
</style>
</head>
<body>
<div id="content"><h2 style="text-align: center;"><b>Time Sheet</b></h2><br/></div>
<div id="TimeSheetDiv"> 
<br /><br /><br /><br /><br />
@Html.DropDownList("DropDownList1", grplist)
<br /><br /><br />
<table border="1" id="StudentTimeSheetTable">
<thead>
<tr>
<th>Group Id</th>
<th>Members id</th>
<th>Date</th>
<th>Task no</th>
<th>Download Task</th>
<th>Task Description</th>
</tr>
</thead>
<tbody>
<tr><td>G1</td><td>BSEF09A033</td><td>@tt</td><td>t2</td><td><a href="/Data/my.docx" target="_blank">Download Task</a> </td><td><textarea rows="0" cols="20"></textarea></td></tr>
<tr><td>G1</td><td>BSEF09A045</td><td>@tt</td><td>t2</td><td><a href="/Data/my.docx" target="_blank">Download Task</a></td><td><textarea rows="0" cols="20"></textarea></td></tr>
<tr><td>G1</td><td>BSEF09A011</td><td>@tt</td><td>t2</td><td><a href="/Data/my.docx" target="_blank">Download Task</a></td><td><textarea rows="0" cols="20"></textarea></td></tr>
</tbody>
</table>
</div>
</body>
</html>
